import requests from "./ajax";
export const reqCartList = ()=>requests({url:'/cart/cartList',method:'get'});


export const reqDeleteCartById=(skuId)=>{
    return requests({
        url:`/cart/deleteCart/${skuId}`,
        method:"delete"
    })
} 
//URL:/api/cart/checkCart/{skuId}/{isChecked}   method:get 
export const reqUpdateCheckedByid = (skuId,isChecked)=>requests({url:`/cart/checkCart/${skuId}/${isChecked}`,method:'get'});
